import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/table/list',
    method: 'get',
    params
  })
}
export function del(params) {
  return request({
    url: '/table/del',
    method: 'get',
    params
  })
}
export function delBatch(params) {
  return request({
    url: '/table/delBatch',
    method: 'get',
    params
  })
}
export function add1(data) {
  return request({
    url: '/table/add',
    method: 'post',
    data
  })
}
export function up2(data) {
  return request({
    url: '/table/up',
    method: 'post',
    data
  })
}
